package cn.wolfcode.luowowo.scenic.service.impl;

import cn.wolfcode.luowowo.api.cache.domain.ScenicRankStatisVO;
import cn.wolfcode.luowowo.api.cache.prefix.ScenicPrefix;
import cn.wolfcode.luowowo.api.cache.service.IScenicStatisRedisService;
import cn.wolfcode.luowowo.scenic.domain.Scenic;
import cn.wolfcode.luowowo.scenic.domain.ScenicTheme;
import cn.wolfcode.luowowo.scenic.mapper.ScenicMapper;
import cn.wolfcode.luowowo.scenic.mapper.ScenicThemeMapper;
import cn.wolfcode.luowowo.scenic.service.IScenicService;
import cn.wolfcode.luowowo.scenic.service.IScenicThemeService;
import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.ArrayList;
import java.util.List;

@Service
public class ScenicThemeServiceImpl implements IScenicThemeService {

    @Autowired
    private ScenicThemeMapper scenicThemeMapper;


    @Override
    public List<ScenicTheme> getScenicTheme(Long id) {
        return scenicThemeMapper.selectByDestId(id);
    }
}
